package io.bitmax.exchange.base.http;

import io.bitmax.exchange.base.entity.BaseHttpResult;
import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by gongdongyang on 2018/9/25.
 */

public interface HttpApi {

    @POST("user/login")
    @FormUrlEncoded
    Observable<BaseHttpResult<String>> login(@Field("account") String account, @Field("password") String password);


}
